﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity;
using S3System.BusinessEntities;

namespace S3System.DataAccess.Master
{
    public abstract class EntityCrudRepository<TEntity>
    {
        [Dependency]
        public S3SystemModelContainer Context { get; set; }
        
        public abstract void Maintenance(TEntity item);
        public abstract TEntity GetOne(object key);
        public abstract IEnumerable<TEntity> GetAll();

    }
}
